Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItemInfo Class / ListItemInfo Constructor / ListItemInfo Constructor(SubItemInfo[],Int32,Object,Color,Color,Int32,Font,GradientEffect,String,Object,Boolean)
A collection of SubItem objects.
An System.Int32 value that represents the indent setting of the ListItemInfo object.
An object value that represents the image of the ListItemInfo object.
A System.Drawing.Color value that represents the background color of the ListItemInfo object.
A System.Drawing.Color value that represents the foreground color of the ListItemInfo object.
An System.Int32 value that represents the height of the ListItemInfo object.
A Font value that represents the font of the ListItemInfo object.
A GradientEffect that represents the gradient effect of the ListItemInfo object.
A System.String value that represents the tooltip text of the ListItemInfo object.
An object value that represents the tag of the ListItemInfo object.
A bool value that represents whether the ListItemInfo is visible.


In This Topic
    ListItemInfo Constructor(SubItemInfo[],Int32,Object,Color,Color,Int32,Font,GradientEffect,String,Object,Boolean)
    In This Topic
    Initializes a new instance of the ListItemInfo class with settings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal subItems() As SubItemInfo, _
       ByVal indent As Integer, _
       ByVal image As Object, _
       ByVal backColor As Color, _
       ByVal foreColor As Color, _
       ByVal height As Integer, _
       ByVal font As Font, _
       ByVal gradientEffect As GradientEffect, _
       ByVal toolTipText As String, _
       ByVal tag As Object, _
       ByVal visible As Boolean _
    )
    'Usage
     
    
    Dim subItems() As SubItemInfo
    Dim indent As Integer
    Dim image As Object
    Dim backColor As Color
    Dim foreColor As Color
    Dim height As Integer
    Dim font As Font
    Dim gradientEffect As GradientEffect
    Dim toolTipText As String
    Dim tag As Object
    Dim visible As Boolean
     
    Dim instance As New ListItemInfo(subItems, indent, image, backColor, foreColor, height, font, gradientEffect, toolTipText, tag, visible)

    Parameters

    subItems
    A collection of SubItem objects.
    indent
    An System.Int32 value that represents the indent setting of the ListItemInfo object.
    image
    An object value that represents the image of the ListItemInfo object.
    backColor
    A System.Drawing.Color value that represents the background color of the ListItemInfo object.
    foreColor
    A System.Drawing.Color value that represents the foreground color of the ListItemInfo object.
    height
    An System.Int32 value that represents the height of the ListItemInfo object.
    font
    A Font value that represents the font of the ListItemInfo object.
    gradientEffect
    A GradientEffect that represents the gradient effect of the ListItemInfo object.
    toolTipText
    A System.String value that represents the tooltip text of the ListItemInfo object.
    tag
    An object value that represents the tag of the ListItemInfo object.
    visible
    A bool value that represents whether the ListItemInfo is visible.
    See Also